package edu.nf.ch07.demo1.service.impl;

import edu.nf.ch07.container.Component;
import edu.nf.ch07.demo1.service.Payment;

import java.math.BigDecimal;

/**
 * @author CSY
 * @date 2025 - 04 - 17
 */
@Component("alipay")
public class AliPay implements Payment {

    @Override
    public void pay(BigDecimal money) {
        System.out.println("阿里支付");
    }
}
